package cn.iocoder.yudao.module.api.promotion.redpacket.enums;

import cn.iocoder.yudao.framework.business.basic.enums.EnumValuable;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 消费红包发放场景枚举
 *
 * @author 山野羡民
 */
@RequiredArgsConstructor
@Getter
public enum RedPacketGrantSceneEnum implements EnumValuable {

    ALL(0, "全部"),
    SCAN_ORDER(1, "扫码收款"),
    TRADE_ORDER(2, "在线购物"),
    ;

    @EnumValue
    private final Integer value;
    private final String name;

}
